#ifndef LOGGERMSGBOX_H
#define LOGGERMSGBOX_H
#include "ILogger.h"

//!Write text in a windows message box
class CLoggerMsgBox : public ILogger
{
public:

	//!Constructor.
	CLoggerMsgBox(void);

	//!Destructor.
	~CLoggerMsgBox(void);

	//!Return itself to chain logs.
	/*!
	\return Return the this pointer.
	*/
	ILogger& Log();

	//!Write log in a message box
	/*!
	\param log The text to display in a message box.
	*/
	void write(const string& log)const;
};

#endif
